package com.tvunetworks.center.user.model.param;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;

/**
 * @program: tvucc-aggregator
 * @description: 去UserService创建新用户所用的参数
 * @author lebronchen
 * @create: 2019-06-10 14:09
 **/
@Data
@Accessors(chain = true)
public class CreateUserParam {


    @NotEmpty
    @Size(max = 64)
    private String email;
    private String password;
    @NotEmpty
    private String accountType;
    private String roleId;
    private String ownerId;
    @NotEmpty
    private String active;
    private String enableFeatureIds;
    private String phone;
    private String remark;
    @Size(max = 100)
    private String firstName;
    @Size(max = 100)
    private String lastName;
    // 非前端传递进来
    private String session;

}
